FUNCTION

set_next_block_time_delta

function set_next_block_time_delta(delta: integer): unit

Set the timestamp that the next block will have, once built, relative to the previous block, in milliseconds.

Calling rell.time.set_next_block_time_delta(x) means the next block will have timestamp x milliseconds after the timestamp of the previous block.

rell.test.set_next_block_time_delta(delta) is equivalent to rell.test.set_next_block_time(rell.test.last_block_time + delta) if there is a previous block. Otherwise, this does nothing.

Parameters

  • delta — the time delta between the previous and next block

Throws

  • exception — if delta is less than 1

See Also

  1. rell.test.set_next_block_time() - Rell Standard Library
  2. rell.test.block - Rell Standard Library

Since

0.13.3

© 2026 Chromia